package org.unigram.oluolu;

import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.util.Tool;
import org.apache.hadoop.util.ToolRunner;

/**
 * 
 */
public class ShowVersion extends Configured implements Tool {

    /**
     * Show version.
     * @param arg0 dummy
     * @return 0 (dummy)
     * @throws Exception -
     */
    public int run(String[] arg0) throws Exception {
        System.out.println("Oluolu version: 0.1");
        return 0;
    }
    
    
    /**
     * Main method.
     *
     * @param args dummy
     * @throws Exception -
     */
    public static void main(final String[] args)
    throws Exception {
        int exitCode = ToolRunner.run(new ShowVersion(), args);
        System.exit(exitCode);
    }
}
